package cn.wsn2018.tools.model;

import net.sf.json.JSONObject;

import java.util.ArrayList;

public class Ztree {

    private JSONObject setting; //设置信息
    private ArrayList<JSONObject> nodes;    //节点列表

    public JSONObject getSetting() {
        return setting;
    }

    public void setSetting(JSONObject setting) {
        this.setting = setting;
    }

    public ArrayList<JSONObject> getNodes() {
        return nodes;
    }

    public void setNodes(ArrayList<JSONObject> nodes) {
        this.nodes = nodes;
    }

    @Override
    public String toString() {
        return "Ztree{" +
                "setting=" + setting +
                ", nodes=" + nodes +
                '}';
    }
}
